<template>
    <div>
        <el-container>
            <el-aside width="250px">
                <Aside />
            </el-aside>
            <el-container>
                <el-header>
                    <Header_admin />
                </el-header>
                <el-main>
                    <!-- 用来加载配置的子路由的组件 -->
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import Header_admin from "../../components/Header_admin.vue";
import Aside from "../../components/Aside.vue";
export default {
    name: "Admin",
    components: { Aside, Header_admin },
    data() {
        return {};
    },

    mounted() {},

    methods: {},
};
</script>

<style scoped>
.el-header {
    background-color: #fff;
    line-height: 60px;
    border-bottom: 2px solid #f0f0f0;
}

.el-aside {
    background-color: #aadc01;
    color: #333;
    text-align: center;
    line-height: 200px;
    height: 124vh;
}
</style>
